﻿<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en">
    <!--<![endif]-->
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
        <meta name="description" content="" />
        <meta name="author" content="" />
        <!--[if IE]>
            <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
            <![endif]-->
        <title>志愿者登录</title>
        <!-- BOOTSTRAP CORE STYLE CSS -->
        <link href="assets/css/bootstrap.css" rel="stylesheet" />
        <!-- FONT AWESOME CSS -->
        <link href="assets/css/font-awesome.min.css" rel="stylesheet" />
        <!-- CUSTOM STYLE CSS -->
        <link href="assets/css/style.css" rel="stylesheet" />
        <!-- Google	Fonts -->
        <link href='http://fonts.googleapis.com/css?family=Nova+Flat' rel='stylesheet' type='text/css' />
        <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet' type='text/css' />
        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
        <style>
            body {
                font-family: 'Open Sans', sans-serif;
                line-height: 30px;
                background:url('assets/img/background2.jpg')no-repeat;
                height:100%;
                width:100%;
                overflow: hidden;
                background-size:cover;
            }

            .alert {
                filter:alpha(Opacity=80);
                -moz-opacity:0.5;
                opacity: 0.5;
                background-color: #000;
                color:#fff;
                text-align:left;
                padding: 20px;
                position: absolute;
                top: 100px;
                width:420px;
                height:330px;
                left:50%;
                top:50%; 
                margin-left:-210px;
                margin-top:-165px;
                border:1px solid #fff;
            }
             .button-center {
                margin-top: 10px;
                text-align:center;
            }
             .btn {
                width: 379px;
                height: 60px;
                font-size: 20px;
                color:#000;
            }
            button:hover{
                color: #2945a5;
            }
        </style>
    </head>
    <body>
        <?PHP
        if(!empty($_GET['signup_flag'])){$signup_flag=$_GET['signup_flag'];}else{$signup_flag=0;}
        if(!empty($_GET['email'])){$email=$_GET['email'];}else{$email='';}
        if($signup_flag==1){
        echo "<script>alert('注册成功');</script>";
        }
        ?>
            <div class="alert">
                <h3 style="color: #fff;text-align: center;font-size: 30px;">用户登录</h3>
                <form action = "volunteer-signin.php" name="volunteer_admin_signin" method="post" style="margin-top: 20px;">
                    <div class="form-group">
                        <input type="email" class="form-control" required="required" id="email" name="email" placeholder="请输入您的邮箱" value="<?PHP echo $email;?>" />
                    </div>
                    <div class="form-group">
                        <input type="password" class="form-control" required="required" id="password" name="password" placeholder="请输入您的密码" />
                    </div>
                    <div class="button-center">
                        <button type="submit" class="btn" onclick="volunteer_admin_signin()">志愿者&管理员信息查询</button>                        
                    </div>
                </form>
            </div>
            <script type='text/javascript'>
                function volunteer_admin_signin() {
                    document.volunteer_admin_signin.action = "volunteer-signin.php";
                    document.volunteer_admin_signin.submit();
                }
            </script>
    </body>
</html>
